
<?php   

    include_once('taskmodel.php');

           
            $userNumber="";
            $username = $_POST['username'];
            $password = $_POST['password'];
            $emailadd = $_POST['emailadd'];
            $mobile = $_POST['mobileno'];

            echo "Username ".$userNumber.'<br/>';
            echo "Username ".$username.'<br/>';
            echo "Password ".$password.'<br/>';
            echo "Email ".$emailadd.'<br/>';
            echo "Mobile ".$mobile.'<br/>';
        
            addItem($userNumber+1,$username, $password, $emailadd, $mobile);
           
    echo "<h3>Your're registered!</h3>";
    
    //alert("Registration Complete!");
    header('Location:index.php');

?>

